﻿using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.IO;
using System.IO.Pipes;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MongoDAO;
using MongoDB.Bson.Serialization.IdGenerators;
using MongoDB.Driver.Linq;
using NUnit.Framework;

namespace MongoDAOTest
{
    [TestFixture]
    public class GridFSTests
    {
        //[Test]
        //public void Import_File()
        //{
        //    var gridFS = new GridFS("MongoTestServerSettings");
        //    var stream = new MemoryStream();
        //    var file = gridFS.ImportFile(stream, "test", new GridFSImportOptions()
        //    {
        //        ContentType = "application/xml",
        //        IdGenerator = ObjectIdGenerator.Instance,
        //    });

        //}
    }
}
